package routers

import (
	"go_server/controllers"

	"github.com/gin-gonic/gin"
)

func initUserRouter(r *gin.Engine) {

	userRouter := r.Group("/user")
	{
		userRouter.GET("", controllers.UserFind)
		userRouter.PUT("", controllers.UserSetPassword)
		userRouter.DELETE("", controllers.Del)
	}
}
